source config.sh

if [ "$1" = "" ]; then
	echo please input account name
	exit
fi

if [ "$1" = "pbehnamg" ]; then
	PEMFile="$KeyPairs/pbehnamg/key-pair.pem"
elif [ "$1" = "behnamghader" ]; then
	PEMFile="$KeyPairs/behnamghader/key-pair.pem"
elif [ "$1" = "stile60" ]; then
	PEMFile="$KeyPairs/stile60/key-pair.pem"
elif [ "$1" = "stile80" ]; then
	PEMFile="$KeyPairs/stile80/key-pair.pem"
elif [ "$1" = "stile160" ]; then
	PEMFile="$KeyPairs/stile160/key-pair.pem"	
elif [ "$1" = "stile200" ]; then
	PEMFile="$KeyPairs/stile200/key-pair.pem"
else
	echo please input a correct account name
	exit
fi


cp $PEMFile $Amazon/key-pair.pem


Account=$1
cp ~/.bash_profile_$Account ~/.bash_profile

source ~/.bashrc
source ~/.bash_profile

echo "$AccountChanger: $TEMP_VAR_1"
exit